package com.ajocer.springbootinit.model.dto.spotOrder;

import com.ajocer.springbootinit.common.PageRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 查询景点订单表请求
 * */
@EqualsAndHashCode(callSuper = true)
@Data
public class SpotOrderQueryRequest extends PageRequest implements Serializable {

    /**
     * id
     */
    private Long id;
    
    /**
     * 用户名
     */
    private String userName;

    /**
     * 用户手机号
     */
    private String userPhone;

    /**
     * 支付金额
     */
    private BigDecimal paymentAmount;

    /**
     * 支付状态（1已支付，0未支付）默认0
     */
    private Integer payStatus;
    
    /**
     * 用户id
     */
    private Long userId;
    
    /**
     * 景点费用id
     */
    private Long spotFeeId;
    
    /**
     * 获取id
     * @return id
     */
    public Long getId() {
        return this.id;
    }
    
    /**
     * 获取景点费用id
     * @return 景点费用id
     */
    public Long getSpotFeeId() {
        return this.spotFeeId;
    }
    
    /**
     * 设置用户id
     * @param userId 用户id
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }
    
    /**
     * 获取用户id
     * @return 用户id
     */
    public Long getUserId() {
        return this.userId;
    }

    private static final long serialVersionUID = 1L;
}